package geektime.spring.springbucks.customer.model;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@ConfigurationProperties("datasource")
@Data
@Component
@RefreshScope
public class TestConfig {
    private String url;
}
